<%--
  Created by IntelliJ IDEA.
  User: SyDevuser24
  Date: 2024/11/14
  Time: 17:13
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="/WEB-INF/tld/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/tld/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/tld/struts-logic.tld" prefix="logic" %>

<%
    String contextPath = request.getContextPath();
    String gotoUrl = contextPath + "/myAction.do";
%>
<html>
<head>
    <title>Title</title>
</head>
<body>
    <h1>Sturts start.</h1>
    <div>
        <a href="<%=contextPath%>/myAction.do" target="_blank">Goto test.</a>
    </div>
    <div>
    </div>
    <div>
        <html:link href="<%=gotoUrl%>">Goto test.</html:link>
    </div>
</body>
</html>
